package com.lezhi.socialgram.model.lbs;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.core.geo.GeoPoint;

/**
 * Created by daizhen on 2017/3/27.
 */
@Document(indexName = "social_gram_user", type = "user")
public class LbsUser {
    @Id
    private Long userId;

    private String imageUrl;

    private Integer imageCount;

    private String nickNameZh;

    private String nickNameEn;

    private Integer sex;

    private Long birthdayTimezone;

    private String voiceGreetingUrl;

    private Integer voiceGreetingSeconds;

    private String profession;

    private String personalSign;

    private GeoPoint point;

    private String country;

    private String region;

    private String city;

    private String county;

    private String seenMes;

    public LbsUser() {
    }

    public LbsUser(Long userId, String imageUrl, Integer imageCount, String nickNameZh, String nickNameEn, Integer sex, Long birthdayTimezone, String voiceGreetingUrl, String profession, String personalSign, GeoPoint point, String seenMes) {
        this.userId = userId;
        this.imageUrl = imageUrl;
        this.imageCount = imageCount;
        this.nickNameZh = nickNameZh;
        this.nickNameEn = nickNameEn;
        this.sex = sex;
        this.birthdayTimezone = birthdayTimezone;
        this.voiceGreetingUrl = voiceGreetingUrl;
        this.profession = profession;
        this.personalSign = personalSign;
        this.point = point;
        this.seenMes = seenMes;
    }

    public LbsUser(Long userId, String imageUrl, Integer imageCount, String nickNameZh, String nickNameEn, Integer sex, Long birthdayTimezone, String voiceGreetingUrl, String profession, String personalSign, GeoPoint point, String country, String region, String city, String county, String seenMes) {
        this.userId = userId;
        this.imageUrl = imageUrl;
        this.imageCount = imageCount;
        this.nickNameZh = nickNameZh;
        this.nickNameEn = nickNameEn;
        this.sex = sex;
        this.birthdayTimezone = birthdayTimezone;
        this.voiceGreetingUrl = voiceGreetingUrl;
        this.profession = profession;
        this.personalSign = personalSign;
        this.point = point;
        this.country = country;
        this.region = region;
        this.city = city;
        this.county = county;
        this.seenMes = seenMes;
    }

    public LbsUser(Long userId, String imageUrl, Integer imageCount, String nickNameZh, String nickNameEn, Integer sex, Long birthdayTimezone, String voiceGreetingUrl, Integer voiceGreetingSeconds, String profession, String personalSign, GeoPoint point, String country, String region, String city, String county, String seenMes) {
        this.userId = userId;
        this.imageUrl = imageUrl;
        this.imageCount = imageCount;
        this.nickNameZh = nickNameZh;
        this.nickNameEn = nickNameEn;
        this.sex = sex;
        this.birthdayTimezone = birthdayTimezone;
        this.voiceGreetingUrl = voiceGreetingUrl;
        this.voiceGreetingSeconds = voiceGreetingSeconds;
        this.profession = profession;
        this.personalSign = personalSign;
        this.point = point;
        this.country = country;
        this.region = region;
        this.city = city;
        this.county = county;
        this.seenMes = seenMes;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public Integer getImageCount() {
        return imageCount;
    }

    public void setImageCount(Integer imageCount) {
        this.imageCount = imageCount;
    }

    public String getNickNameZh() {
        return nickNameZh;
    }

    public void setNickNameZh(String nickNameZh) {
        this.nickNameZh = nickNameZh;
    }

    public String getNickNameEn() {
        return nickNameEn;
    }

    public void setNickNameEn(String nickNameEn) {
        this.nickNameEn = nickNameEn;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Long getBirthdayTimezone() {
        return birthdayTimezone;
    }

    public void setBirthdayTimezone(Long birthdayTimezone) {
        this.birthdayTimezone = birthdayTimezone;
    }

    public String getVoiceGreetingUrl() {
        return voiceGreetingUrl;
    }

    public void setVoiceGreetingUrl(String voiceGreetingUrl) {
        this.voiceGreetingUrl = voiceGreetingUrl;
    }

    public Integer getVoiceGreetingSeconds() {
        return voiceGreetingSeconds;
    }

    public void setVoiceGreetingSeconds(Integer voiceGreetingSeconds) {
        this.voiceGreetingSeconds = voiceGreetingSeconds;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public GeoPoint getPoint() {
        return point;
    }

    public void setPoint(GeoPoint point) {
        this.point = point;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getPersonalSign() {
        return personalSign;
    }

    public void setPersonalSign(String personalSign) {
        this.personalSign = personalSign;
    }

    public String getSeenMes() {
        return seenMes;
    }

    public void setSeenMes(String seenMes) {
        this.seenMes = seenMes;
    }
}
